AI-based betting anomaly detection system to ensure fairness in sports and prevent illegal gambling

This study develops a solution to sports match-fixing using various machine-learning models to detect match-fixing anomalies, based on betting odds. We use five models to distinguish between normal and abnormal matches: logistic regression (LR), random forest (RF), support vector machine (SVM), the k-nearest neighbor (KNN) classification, and the ensemble model—a model optimized from the previous four. The models classify normal and abnormal matches by learning their patterns using sports betting odds data. The database was developed based on the world football league match betting data of 12 betting companies, which offered a vast collection of data on players, teams, game schedules, and league rankings for football matches. We develop an abnormal match detection model based on the data analysis results of each model, using the match result dividend data. We then use data from real-time matches and apply the five models to construct a system capable of detecting match-fixing in real time. The RF, KNN, and ensemble models recorded a high accuracy, over 92%, whereas the LR and SVM models were approximately 80% accurate. In comparison, previous studies have used a single model to examine football match betting odds data, with an accuracy of 70–80%.


Match-fixing detection using betting odds and market price figures
The ability to detect match-fixing through the behavioral patterns of players that are influenced by contingent factors and players' physical conditions is limited.Therefore, it is necessary to set an index that can predict game results to detect anomalies using sports game data.The index, which can predict game results and identify differences between competing teams, can be represented by the sports betting odds 18 .The betting odds are generated by considering a range of factors, including recent performance, game flow, match results, injured players, and penalized players.Strong teams receive low odds, whereas weak teams receive high odds.However, not all sports betting companies offer the same odds.How odds are determined is closely related to the margin set by the sports betting company; specifically, the odds vary depending on how much margin the betting company intends to retain.For instance, if the initial odds are set at 2.20 for a home team to win, 3.25 for a tie, and 3.30 for a loss, the company's margin for a win would be 6%.Different odds are therefore generated, even for the same sports event, depending on the country or league of the betting company.The equations are as follows: Odds have often been used to determine the value of athletes and teams and to predict match results 19 .In a study on the detection of match-fixing, data were examined by monitoring various online betting sites in real time; match-fixing was determined when an irregular betting pattern occurred for the same game on a specific site 20 .Archontakis and Osborne 21 detected match-fixing by analyzing the betting results of the 2002 World Cup soccer match using the Fibonacci sequence.Previous studies have also used data from the Sportradar Fraud Detection System, which detects match-fixing based on global betting activities for soccer games 22 .Other studies have attempted to detect match-fixing through the betting odds 23,24 .This method is considered effective for detecting match-fixing and is accepted by the Court of Arbitration for Sports as the main evidence in sports match-fixing cases 25,26 .

Sport database
The database was built on world football league match betting data of 12 betting companies (188bet, Interwetten, Vcbet, 12bet, Willhill, Macauslot, Sbobet, Wewbet, Mansion88, Easybet, Bet365, and Crown), using historical database documentation of iSports API.The latter provides a vast collection of data on players, teams, game schedules, and league rankings for every sports league, including football, basketball, baseball, hockey, and tennis.This study constructed a database using data on soccer matches.As shown in Table 1, 31 types of data were collected.iSports API is a sports data company that offers application programming interfaces (APIs) for accessing and integrating sports data into various platforms and applications.The API collects data from multiple sources using a combination of automated web scraping technology, data feeds, and partnerships with sports data providers.To extract data, web scraping techniques are utilized on sports websites, including official league and team sites, news platforms, and sports statistics portals.Once gathered, the data are aggregated and presented in a consistent and structured format.This involves standardizing data fields, normalizing data formats, and merging information from different sources to create comprehensive and unified datasets.Furthermore, quality assurance measures are employed by iSports API to ensure the accuracy and reliability of the collected data, enhancing its overall reliability.The data collected by iSports API comprise match betting data from various world football leagues, covering the period from 2000 to 2020, including data from leagues, such as the K-League, Premier League, and Primera Liga.The dataset contains odds for home matches, away matches, and ties, which are recorded at minute intervals throughout each match.The variables in Table 1 constitute the database, as shown in Fig. 1.The Flask server is available for users to request data on betting odds, user messages, and matches.The Admin PC constantly updates match data and stores them in the database.Database building took place in Mongo DB, providing the following servers: Sport Server on matches and weather; League Server on league and cup profiles, league ranking, and events during matches; Odds Server on betting odds of different categories as well as on betting company site; and Player Server on player's performance, profile, and other information.The database, illustrated in Fig. 1, continuously collects soccer match data, based on 31 variables that have an impact on the outcome of the game.This allows us to assess whether the derived match odds exhibit a normal or abnormal pattern, based on various factors.The database also enables the comparison of real-time data on 31 variables and odds, thereby enabling the identification of abnormal games-both in real time and retrospectively.

Betting models
This study employed four models: support vector machine (SVM), random forest (RF), logistic regression (LR), and k-nearest neighbor (KNN), known for their robust performance in classifying normal and abnormal games based on win odds, tie odds, and lose odds patterns.Instead of solely relying on the patterns of normal and abnormal games identified by these four distinct machine-learning models, we further integrated them into an ensemble model by aggregating their parameters.By pooling the predictions of all five models (the original four plus the ensemble) through a voting mechanism, we categorized games into three distinct patterns: "normal, " "warning, " and "abnormal, " based on the collective consensus of these models, The betting model of this study can be described by Algorithm 1 as follows: A total of five models were used to detect abnormal games, including four individual machine learning models and one ensemble model.The ensemble model was based on the parameters of the other four models.To determine the authenticity of a game, the results of all five models were aggregated.Furthermore, a game was categorized into one of the following three classifications: "normal, " "warning, " or "abnormal, " based on the number of models that identified the game as potentially fraudulent.This comprehensive dataset allowed us to identify patterns associated with abnormal matches, thereby enabling the classification model to learn and distinguish between normal and abnormal labels.Hence, the classification model was employed as a means to effectively analyze and comprehend the intricacies within the dataset.The data used for classification were employed to identify patterns of win odds, tie odds, and loss odds observed in soccer matches, using the proposed method.These patterns were then converted into specific values and utilized in the classification process.Thus, a specific pattern of odds in soccer matches served as a model variable.2, that integrates input from multiple sources and uses an ensemble approach where each submodel is specialized for a specific data type.The system combines insights from these submodels to assess the overall situation and categorizes the results into different categories.The decision-making process is based on a consensus mechanism 28 .If the majority of sub-models flag an event as suspicious, the event is labeled as 'abnormal.' Consequently, the integrated model is capable of distinguishing between 'normal' and 'abnormal' outcomes with high accuracy.To provide more nuanced insights, the model categorizes the anomalies into three levels.
To illustrate the overall process of the model, want to detect anomalies in the odds data of a single match.Therefore, the odds data is classified into five models: four trained models and an ensemble model of four models.At this time, one odds data is input to five models as an input value, and each of the five models that received the data is judged as normal or abnormal, and five results are derived.At this time, if the count of Abnormal is 3 or more, it is Abnormal, 2 is Caution, and 1 or less is Normal.Therefore, each of the five classification models derives two prediction labels, but the overall model counts two prediction labels and derives a total of three results.
1. Normal: If the ' Abnormal Count, ' which represents the number of sub-models indicating an anomaly, is less than 1, the situation is judged as normal, indicating typical and safe operational conditions.2. Caution: If the ' Abnormal Count' is exactly 2, it indicates a need for caution.This level suggests that there might be potential issues or emerging risks that require closer monitoring or preventive measures.
3. Abnormal: If the ' Abnormal Count' is 3 or more, the situation is judged as abnormal.This classification signifies a high likelihood of a significant issue or anomaly that needs immediate attention and possibly corrective action.
This comprehensive dataset allowed us to identify patterns associated with abnormal matches, thereby enabling the classification model to learn and distinguish between normal and abnormal labels.Hence, the classification model was employed as a means to effectively analyze and comprehend the intricacies within the dataset.The data used for classification were employed to identify patterns of win odds, tie odds, and loss odds observed in soccer matches, using the proposed method.These patterns were then converted into specific values and utilized in the classification process.

Support vector machine
An SVM is a data classification model that uses a decision boundary to separate the data space into two disjoint half properties.New input data are classified based on their similarity to one of these properties.The larger the boundary data gap, the more accurate the classification model.It is, therefore, common to set up random outliers on both sides of the decision boundary, known as margins.In this study, a maximum margin was created to enhance classification accuracy, and the data entering the margin were eliminated 29 .
The SVM algorithm on the p-dimensional hyperplane is shown in Eq. ( 5), with f (X) = 0.
The f (X) value on the hyperplane is 1 . Data were considered well sorted when the value of Eq. ( 7) was positive, following Y i on (− 1, 1).
With a hyperplane, as shown in Eq. ( 7), the data can be divided by different angles.However, for a classification model to be highly accurate, the hyperplane should be optimized by maximizing the margin between different data points.This leads to finding the maximum "M" (margin), as shown in Eq. ( 9).Consequently, the hyperplane and margin are designated while allowing errors ∈ i to some degree, before eliminating all data inside the margin as outliers.
For SVM model, the C(Regularization Strength) value is 0.1 to prevent overfitting, and since the values of the data are linear, the kernel is linear, and abnormal matches of the odds do not have regular features, so RBF(Radial Basis Function) is adopted to derive such non-linear features 30 .

Random forest
In the RF model, decision trees-the hierarchical structure composed of nodes and edges that connect nodeshelp determine the optimal result.A decision tree rotationally splits learning data into subsets.This rotationbased division repeats on the divided subsets until there is no more predictive value left, or the subset node's value becomes identical to the target variable.This procedure is known as the top-down induction of decision trees (TDIDT), in which the dependent variable Y serves as the target variable in the classification; furthermore, vector v is expressed by Eq. (12).While classifying data using TDIDT, Gini impurity may be used to measure misclassified data in a set.While randomly estimating the class, a set with a likelihood of misjudgment near 0 is said to be pure.Therefore, Gini impurity enhances the accuracy of the RF model 31 .
Trees are trained to optimize split function parameters related to internal nodes, as well as end-node parameters, to minimize defined objective functions when v (data), S 0 (trained set), and real data labels are provided. (5) The RF model optimizes and averages the decision tree results using the bagging method before classification.Bagging or bootstrap aggregation-meaning simultaneously bootstrapping multiple samples and aggregating results from machine learning-is a method that averages diverse models to identify the optimized version.Since the number of trees determines the performance and accuracy of the LF model, we ran Gridsearch with increasing numbers of trees, and found that the best performance was achieved with 50 trees.We also set the ratio to 0.4 to determine the maximum number of features in the tree, and the maximum depth of the tree to 10 to prevent overfitting 32 .

Logistic regression
LR is a supervised learning model that predicts the probability of given data belonging to a certain range between 0 and 1.The target variable is binary: 0-0.5 and 0.5-1.LR is linear, and each feature value multiplied by a coefficient and added by the intercept gives log-odds against the predicted value, enabling data classification.Therefore, the probability (P) of the event occurring or not occurring was calculated, and the log of the odds was calculated for the classification through the final value 33 .
To evaluate the suitability of the results to the model, we must calculate and average the loss of the sample.This is referred to as log loss, expressed in Eq. ( 15), which contains the following elements: m = total number of data points, y (i) = class for data i, z i = log-odd of data i, and h(z (i) ) = log-odds sigmoid that identifies a coefficient minimizing log loss, which gives the optimized model.
Once log-odds or property coefficient values were calculated, they could be applied to the sigmoid function to calculate the outcome of the data, ranging between 0 and 1 and belonging to a given class.In this study, a loss function was used to identify values near 0 or 1, to sort normal and abnormal matches.
In this study, to find the optimal hyperparameters for each of the four models, we used Gridsearch to fine-tune the weights of each model and select the model with the optimal accuracy.For the LR model, the C(Regularization Strength) value was set to 0.1 to prevent overfitting, and to normalize the data values, Lasso regression analysis was adopted, which can well judge the flow of a specific match, and regularization was performed using liblinear, which is suitable for small datasets for optimization 34 .

K-nearest neighbor
KNN is a classification algorithm of KNNs, based on their data label, using the Euclidean distance formula to evaluate the distance.Based on the Euclidean distance, d (distance) between A (x1, y1) and B (x2, y2) in a twodimensional land is shown in Eq. (16).
To distinguish between normal and abnormal matches, the current study designated k as 2 and split array figures into normal or abnormal matches using the betting odds pattern appropriate for each match 35 .In this study, we set k = 2, as it involves the classification of two classes: normal and abnormal.Consequently, the issue of ties can arise when an equal number of nearest neighbors belong to different classes.To address this challenge, the analysis was performed by augmenting model stability through the utilization of k-fold cross-validation.This technique enables the evaluation of both the accuracy and stability of the classification model, ensuring a more robust and reliable classification outcome for cases in which k = 2.After determining the betting odds of a new match, the match array pattern allowed us to determine whether it was more normal or abnormal.For the KNN model, Gridsearch was conducted by adjusting the initial k value, and as a result, k = 2 was finally adopted.In addition, Manhattan distance, Minkowski distance, and Euclidean distance were used as distance metrics, but general Euclidean distance was adopted due to the complex nature of the data and the small number of data 36 .

Data preprocessing
This study used hourly win-tie-loss betting odds data to classify abnormal and normal matches.K-league football matches and match-fixing cases between 2000 and 2020 were used as data sources.The training data, spanning 20 years, is derived from K-League soccer matches, where each of the 12 teams plays 33 games.However, the dataset initially had a higher count of matches.Among these, a subset of matches was identified as having static data, characterized by minimal movement in betting odds due to low betting volumes.These matches were excluded from our analysis because their static nature does not provide useful insights for identifying betting trends.Consequently, the refined dataset for training consists of 2,607 data points.These points represent matches that attracted a significant number of bets, making them more relevant for our analysis in understanding betting patterns and trends.The learning data were based on 2586 normal and 21 abnormal matches.The matched dividend data are shown in Fig. 3. On the x-axis, representing "Time, " a value was assigned to each time flow.The win-tie-loss betting odds value was represented on the y-axis.Figure 3 is an example of the time series flow of odds for one out of 2607 games.In Fig. 3, the x-axis represents the "Favorite" betting odds, suggesting the probability of a team playing in their local stadium or one close to their home base.Conversely, "Underdog" (14) Odds = P eventoccurring P eventnotoccurring denotes the betting odds of a team playing in an unfamiliar environment, potentially impacted by various factors such as different field dimensions, playing surfaces, and atmospheric conditions.The "Tie" on the y-axis signifies the betting odds of both teams tying due to an identical score in the match.Additionally, the x-axis represents the "Time" value in minutes.Thus, the evolution of betting odds is depicted as a time series, capturing the odds both before the soccer game began and as it progressed.
For data selection, using matches not identified as abnormal could result in an inaccurate model.Therefore, only matches confirmed as actual instances of abnormality in the K-League were examined and utilized for training as abnormal cases.
Before learning, we checked whether the betting odds data and length of each match were irregular.For instance, there may be 50 data points for match A and 80 points for match B. In such a case, the difference in data dimensions hinders the model's learning process.Therefore, data dimensions should be evened before learning.Given the average data length of 80 to 100, the length of every dividend datum was adjusted to 100 in an analyzable form, before smoothing and implementation by adding a Sin value.Figure 4 shows the data dimension adjustment to 100 without changing the overall betting odds graph pattern and the application of the Sin-based smoothing.Superimposing a Sin wave onto our adjusted data enabled us to highlight potential periodicities and enhance the model's ability to capture these recurrent patterns.The Sin-based smoothing technique, when post-data dimension adjustments are applied, emerges as an instrumental approach, not only ensuring the mitigation of unwarranted noise and fluctuations but also amplifying latent periodic trends, thereby promoting data uniformity across matches.This, in turn, cultivates an environment conducive for models to discern principal trends over outliers and enhances their capability to generalize across diverse and unseen datasets, fortifying their overall predictive proficiency 37 .
With the adjusted dimension of win-tie-loss betting odds data, Fig. 5 represents an abnormal match during learning, with no change in a given dividend.As shown in Fig. 4, each dimension was adjusted to the win-tie-loss betting odds data.When learning each of the win-tie-loss betting odds, Fig. 5 represents an abnormal match with no change in a given dividend, even for an abnormal match.However, its loss pattern can be considered a normal match.Consequently, the learning model can be considered a normal match when three different patterns are applied simultaneously.
To address this problem, datasets on win-tie-loss with a length of 100 each were converted to frame a single dataset of 300 in length.Figure 6 shows the result.Three types of betting odds, shown in Fig. 5, were combined to form a pattern, which in turn emphasized the characteristics of data-deprived abnormal matches during learning.

Abnormal betting detection model
An abnormal match detection model was developed based on the data analysis results of each model, using the match result dividend data.Based on Fig. 7, the process begins with the real-time entry of data for each odds rate during a sports game.This input comprises three odds categories: Favorite, Tie, and Underdog.Subsequently, the input data undergoes a transformation through the Pattern Combine method proposed in this study, resulting in the generation of a new pattern.This newly derived pattern is then fed into the five learning models.Each model individually classifies games as normal or abnormal and provides corresponding results.Consequently, the outcomes of the betting patterns are obtained for each model, enabling a comprehensive evaluation of their performance.Based on the betting pattern analysis results from the five models, the abnormal betting detection model classified matches according to the number of abnormal matches as follows: one or less, normal; two, caution; three, danger; and four or more, abnormal.Figure 7 shows the models' classification process, which provides a dividend pattern to help detect abnormal matches.In summary, we learned four machine learning models and created an ensemble model using the parameters of these four models, ultimately creating a total of five fraud detection models.We classified matches as normal, caution, dangerous, or abnormal based on the number of abnormal matches detected by all five models, rather than judging irregular matches based on each model's results.

Data analysis
The present study proceeded with machine learning using five performant multiclass models: LR, RF, SVM, KNN, and the ensemble model, which was an optimized version of the previous four models.This was used to classify normal and abnormal matches by learning their pattern from sports betting odds data.This study utilized the win, tie, and loss odds estimated by the iSports API using the 31 variables presented in Table 1.
Classification using the four models and one ensemble model used in the analysis shows high performance in judging data such as odds that do not have many variables.The accuracy of the training data for each model was 95% on average, and the loss value was 0.05 on average, which is a high accuracy for the training data.Therefore, the model was adopted to detect match-fixing.
As these 31 variables have an impact on the outcome of a soccer game, they were not directly employed as data; rather, their influence was reflected in the derived odds.Therefore, the odds variables for wins, ties, and losses were employed in this study.The dataset was sorted chronologically for wins, ties, and losses, irrespective of CompanyID (a variable used to differentiate and categorize the betting companies), and in cases of identical timestamps, averages were applied.Table 2 provides an explanation of the data subset.We collected betting data from three days before the start of the game until the end of the game.Data collection occurred whenever there was a change in Favorite, Tie, or Underdog betting data, without specifying a fixed time interval.Table 2 provides a detailed description of the variables used in this context.ScheduleID is a variable used to differentiate and identify specific matches.It allows us to distinguish details such as the match date and the teams involved in the game.In this research, CompanyID was utilized as a variable to distinguish among 12 different betting companies.Favorite, Tie, and Underdog represent betting data for wins, ties, and losses, based on the home team.These variables constitute the primary data used in this study, reflecting real-time changes in betting data.ModifyTime is a variable that records the time when data changes occurred.For example, if there were changes in betting data from Company A, the modified Favorite, Tie, and Underdog data would be recorded along with  This study process involves testing five models using a dataset that consists of 2607 items.This dataset is utilized for learning purposes, comprising 2586 normal matches and 21 abnormal matches.For the validation phase, a separate set of 20 matches is employed, which is evenly divided into 10 normal and 10 abnormal matches.This setup ensures that the models are both trained on a comprehensive dataset and then accurately validated using a balanced mix of normal and abnormal match data.Acknowledge that the dataset in our study may be perceived as limited in quantity; however, as we deal with betting data on unusual matches, in practice, we cannot use data without verified instances of matches with illegal odds for training.This is because if the model is trained with abnormal match odds that are actually from a normal match, there is a problem.Therefore,  only data verified with actual cases were used.Although the size of the learning dataset is small, it contains all the patterns of illegal/abnormal games that occur within it; therefore, it represents the phenomenon or pattern studied in this research.The RF, KNN, and ensemble models recorded a high accuracy of over 92%, while the LR and SVM models were approximately 80% accurate (Table 3).

Results
Five models were tested using data from 20 matches (10 normal and 10 abnormal).K-league football matches and match-fixing cases between 2000 and 2020 were used as data sources.In this study, the term "abnormal match" refers to games of match-fixing that occurred between the years 2000 and 2020 and resulted in actual legal punishment."Normal match" refers to the remaining matches in the K-League dataset collected.Additionally, for model validation, the matches used were extracted through random sampling.Based on the betting odds of 20 matches, the classification performance of the model was evaluated using a confusion matrix, as presented in Table 3. Normal, caution, and abnormal results were classified using the four models of LR, SVM, RF, and KNN, while ensemble values of the models were determined by analyzing the total as the fifth result.In this approach, a game was classified as abnormal if the class assigned by each model contained four or more abnormal cases.Likewise, if three cases were classified as cautions, the game was classified accordingly.The confusion matrix in Table 4 presents the actual values of normal and abnormal from actual data, and the predicted values were defined as normal, cautions, and abnormal.Of 10 normal matches, 8 were deemed valid, while the remaining 2 matches were rated as cautions in the LR, RF, and ensemble models.Out of 10 abnormal matches, 6 were valid, 2 were rated cautions, and 2 were rated as normal.Regular betting odds patterns in abnormal matches would have generated such decisions.Consequently, the model in the current study was 80% accurate for normal matches and 60% accurate for abnormal matches, owing to the lack of abnormality data, which prevented the model from accurately estimating irrelevant results.The proposed abnormal betting detection model proposed in this study is estimated to have an approximate 80% accuracy in identifying abnormal matches.In contrast to our model, the five pre-existing models failed to categorize the warning group, instead only distinguishing between normal and abnormal games.This resulted in a high likelihood of erroneously categorizing regular games as abnormal.Furthermore, when evaluating the performance of each model in classifying normal and abnormal games, the average accuracy ranged between 60 and 70%.Thus, the model introduced in this study not only provides a more nuanced classification via the caution category but also outperforms other models in terms of accuracy.Moreover, after collecting data from real-time matches, we applied five models to construct a system capable of detecting match-fixing in real time.The models are built on previous match data and collect real-time match data to ascertain fraudulent matches.Our study aimed to provide an environment for real-time analysis and investigation by building a system that collects real-time data before and during matches, decides whether a match is suspicious, and acts promptly.
However, previous research on data-based statistical detection of match-fixing revealed that match-fixing cases are relatively minor compared to normal matches 18 , which the current study confirmed.Real-time data collection on sports matches could contribute to the creation of a more accurate detection system.
Determining whether a match is fixed cannot rely solely on abnormal patterns and data 22 .However, the detection model could help identify abnormal and normal matches in real time and provide more detailed data to facilitate the investigation of match-fixing cases.Moreover, it could benefit the public, as these real-time data would detect match-fixing in games.Furthermore, the detection model may prevent match-fixing brokers and players from committing match-fixing, as they are aware of the risk of real-time detection.The results of this study could guide the future detection of match-fixing in sports.

Discussion
In the realm of sports, match-fixing issues tend to occur constantly and damage the fundamental value of fairness in sports.Various methods have been proposed to solve this problem.Efforts have been made in sports to build a match-fixing anomaly-detection model using match data.
This study utilized a predefined criterion to distinguish between normal and abnormal matches in order to establish a system.Abnormal matches were defined as those that have been officially recognized as cases of matchfixing and have faced legal consequences.This definition ensures that the research results can identify actual instances of match-fixing.To validate the results obtained through data analysis, K-League soccer match data were utilized in this study.A total of 20 game data were used for validation, with 10 matches classified as normal and 10 matches classified as abnormal.The validation data were randomly sampled to ensure data diversity and representativeness, thereby enhancing the generalizability of the research results.For the validation of abnormal matches, a criterion was established based on the number of models among the five utilized models that categorized a match as abnormal.Depending on the number of models that classified a match as abnormal, matches were categorized as safe, caution, risk, or abnormal.This approach enabled the evaluation and validation of the reliability of the proposed models in identifying abnormal matches.Our ensemble method diverges significantly from traditional models, offering an enhanced prediction capability by synergistically integrating parameters from multiple individual models.This comprehensive approach allows for a richer capture of data nuances often overlooked by singular models.While traditional ensembles inherently enhance data generalization, our unique combination of four models amplifies resistance to overfitting, ensuring consistent performance across varied data terrains.This methodology, bolstered by inputs from five distinct models, not only acts as a shield against biases but also introduces an innovative "warning" category.This added layer aids in nuanced decision-making and provides stakeholders with a refined perspective to decipher borderline or ambiguous predictions.
In the academic world, studies have attempted to detect match-fixing using anomalous match data.Kim et al. 26 converted sports dividend odds data into graphs and applied the CNN algorithm to sort normal and abnormal matches by comparing their dividend odds graphs.Ötting et al. 24 used the GAMLSS model based on dividend odds and betting volume data to identify differences between fixed and non-fixed matches and evaluated the model's ability to detect fixed matches.
Previous studies have examined suspected matches using a single model based on football match dividend odds data, with an accuracy rate of 70-80%.The misclassification rate was approximately 20%.However, inevitable biases and errors in single-model analyses hinder their practical application.Consequently, the current study aimed to suggest a solution to sports match-fixing using various AI models to detect anomalies based on dividend odds by constructing a database with such variables as sports match results, league ranking, and players.
To reduce errors in a single model, this study relied on four models frequently used in machine learning: LR, RF, SVM, and KNN classification.In addition, this study used the ensemble model, which is an optimized model of the previous four.Using these five models, this study aims to distinguish between normal and abnormal matches.The accuracy of the present results was higher than those in previous research for sorting matches, with three models (RF, KNN, and ensemble) showing an accuracy of over 90% and two (LR and SVM) models showing an accuracy of 80%.A combination of the models was used to identify suspicious matches, as each model suggests different suspicious cases, reducing the likelihood of considering valid matches as suspicious.
However, it must be acknowledged that the verification data in this study were limited in size, which precluded testing across diverse scenarios.This limitation may have stemmed from the constrained sample size.Nonetheless, a power analysis indicated that our sample size possessed an 80% power to detect the observed effect size.Furthermore, it must be noted that this study is fundamentally exploratory and stands among the pioneering efforts in this domain.
Another crucial aspect that must be emphasized is that our study utilized only actual, real-world data.When a match is flagged as irregular, it serves as concrete evidence of misconduct.Such fraudulent activities are highly sensitive and present substantial challenges in large-scale data collection.Furthermore, even if an unusual pattern emerges in a typical match, its value as verification data diminishes unless it can be confirmed as an irregularity resulting from foul play.We are fully aware of these constraints.
In the future, more real-world instances deemed as irregular matches should be collected to enhance precision in identifying abnormal games through iterative model refinements.Nonetheless, despite the disclosed limitations of our study, we are confident that our findings provide valuable insights in this field, laying the groundwork for more expansive subsequent studies.

Conclusion
This study aimed to develop an AI-based sports match-fixing detection system using sports betting odds.The conclusions of this study are as follows.
First, five models were utilized to implement the system in this study.Specifically, four classification models-LR, RF, SVM, and KNN-were trained, and an ensemble model combined their optimal results.Three models (RF, KNN, and ensemble) achieved an accuracy of over 90%, while two models (LR and SVM) demonstrated an accuracy of approximately 80%.
Second, real-time match data were collected and the five models were applied to build a system to detect match-fixing in real time.The performance of the developed system was validated using 10 normal matches and 10 abnormal matches.The results showed an accuracy of 80% for normal matches and 60% for abnormal matches.
This study aimed to provide an effective preventive measure-an AI-based system-against match-fixing, in a context in which match-fixing undermines sports fairness and has a negative impact on the sports industry.The anomaly detection model utilizing real-time data can evaluate matches in real time and detect match-fixing, thereby benefiting the general public.Additionally, by raising awareness among match-fixing brokers and players of the risks associated with real-time detection, match-fixing can be prevented.The development of a system capable of detecting covert match-fixing in advance holds significant importance.Future research efforts are expected to expand this system to various leagues through the inclusion of data from abnormal matches or match-fixing incidents.

Figure 3 .
Figure 3. Betting odds graph of matches (One of 2607 match data).

Figure 5 .
Figure 5. Abnormal match with both normal and abnormal patterns.

Figure 7 .
Figure 7. Process of the abnormal match detection model.
Ensemble process for detecting abnormal games Developed a sophisticated multimodal artificial intelligence model designed to monitor and analyze different types of data for anomaly detection.The model has a process, shown in Fig.